package util;

import java.util.UUID;

public class UUIDUtils {


    public static String getUUID(String fileName) {
        String suffix = fileName.substring(fileName.indexOf("."));

        return UUID.randomUUID().toString().replaceAll("-","")+suffix;
    }


    public static void main(String[] args) {
        System.out.println(getUUID("abc.jpg"));
    }


}
